import $axios from '../http';

export function login(user) {
  return $axios.post('/api/login', user);
}

export function getList() {
  return $axios.get('/api/list');
}